package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.ApiStageMaxMin;
import com.ruoyi.system.domain.vo.h5.IncreaseRankingVO;
import com.ruoyi.system.service.ApiStageMaxMinService;
import com.ruoyi.system.mapper.ApiStageMaxMinMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
    * @author 李鼎
* @description 针对表【api_stage_max_min(沪深分析数据API文档-市场表现-阶段最高最低)】的数据库操作Service实现
* @createDate 2024-05-15 15:17:26
*/
@Service
public class ApiStageMaxMinServiceImpl extends ServiceImpl<ApiStageMaxMinMapper, ApiStageMaxMin>
    implements ApiStageMaxMinService{

    @Override
    public List<IncreaseRankingVO> selectIncreaseRanking(String day) {
        return this.getBaseMapper().selectIncreaseRanking(day);
    }

    @Override
    public List<IncreaseRankingVO> selectIncreaseRankingBySubjectId(String day, Long subjectId) {
        return this.getBaseMapper().selectIncreaseRankingBySubjectId(day,subjectId);
    }
}




